package cn.gogoyc.org.service;

import cn.gogoyc.org.basic.dto.ShopDto;
import cn.gogoyc.org.basic.servie.BaseService;
import cn.gogoyc.org.domain.Shop;
import cn.gogoyc.org.domain.ShopAuditLog;
import cn.gogoyc.user.domain.Logininfo;

import javax.mail.MessagingException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Tom
 * @since 2023-02-04
 */
public interface ShopService extends BaseService<Shop> {

    void settlement(Shop shop);

    void auditReject(ShopAuditLog log, Logininfo logininfo) throws MessagingException;

    void auditPass(ShopAuditLog log, Logininfo logininfo) throws MessagingException;

    void activatedState(Long id);

    List<ShopDto> getNumAndState();
}
